﻿// MIT License
//
// Copyright (c) 2021-present zuohuaijun, Daming Co.,Ltd and Contributors
//
// 电话/微信：18020030720 QQ群1：87333204 QQ群2：252381476

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.Net.InformationPlatform.Entity.Mailbox;
public class MailMessage
{
    /// <summary>
    /// 发件人
    /// </summary>
    public string FromEmail { get; set; }

    /// <summary>
    /// 密码
    /// </summary>
    public string PassWord { get; set; }

    /// <summary>
    /// 收件人邮箱
    /// </summary>
    public string ToEmail { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    public string Subject { get; set; }

    /// <summary>
    /// 正文
    /// </summary>
    public string Body { get; set; }

    /// <summary>
    /// 端口
    /// </summary>
    public string Host { get; set; }

    /// <summary>
    /// ip
    /// </summary>
    public int Ip { get; set; }

    /// <summary>
    /// 是否开启验证
    /// </summary>
    public bool EnableSsl { get; set; }

    /// <summary>
    /// 验证
    /// </summary>
    public bool UseDefaultCredentials { get; set; }

    /// <summary>
    /// 附件
    /// </summary>
    public List<string> FileUrl { get; set; }
}
